//
//  AIDoor.h
//  AIDoorSDK
//
//  Created by Cyan on 16/4/12.
//  Copyright © 2016年 yangshangwei. All rights reserved.
//

#import <Foundation/Foundation.h>


//打卡成功
typedef void (^AIDoorSuccess)(NSString *msg);
// 打卡失败
typedef void (^AIDoorFailed)(NSError *error);


@interface AIDoorSDK : NSObject


// 发送卡号
+(void)sendCardNo:(NSString *)mac bytes:(Byte[]) bytes success:(AIDoorSuccess) success failed:(AIDoorFailed) failed;

+(void) getEncryptByteArray:(Byte[]) bytes;


@end
